package com.ruoyi.ldzlsc.domain;

import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 生产派工指令表 sc_dispatch
 * 
 * @author ldzl
 * @date 2024-07-31
 */
public class ScDispatch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 派工指令主键ID */
    private Long dispatchId;

    /** 关联的工序任务ID (sc_work_order_task.work_order_task_id) */
    private Long workOrderTaskId;

    /** 班组ID (sys_dept.dept_id) */
    private Long teamId;

    /** 负责人ID (sys_user.user_id) */
    private Long leaderId;

    /** 其他成员ID列表 (逗号分隔) */
    private String memberIds;

    /** 质检部门ID (sys_dept.dept_id) */
    private Long qcDeptId;

    /** 质检人员ID (sys_user.user_id) */
    private Long qcPersonId;

    /** 指令状态 (1:生效, 0:取消) */
    private String status;

    public void setDispatchId(Long dispatchId) 
    {
        this.dispatchId = dispatchId;
    }

    public Long getDispatchId() 
    {
        return dispatchId;
    }
    public void setWorkOrderTaskId(Long workOrderTaskId) 
    {
        this.workOrderTaskId = workOrderTaskId;
    }

    public Long getWorkOrderTaskId() 
    {
        return workOrderTaskId;
    }
    public void setTeamId(Long teamId) 
    {
        this.teamId = teamId;
    }

    public Long getTeamId() 
    {
        return teamId;
    }
    public void setLeaderId(Long leaderId) 
    {
        this.leaderId = leaderId;
    }

    public Long getLeaderId() 
    {
        return leaderId;
    }
    public void setMemberIds(String memberIds) 
    {
        this.memberIds = memberIds;
    }

    public String getMemberIds() 
    {
        return memberIds;
    }
    public void setQcDeptId(Long qcDeptId) 
    {
        this.qcDeptId = qcDeptId;
    }

    public Long getQcDeptId() 
    {
        return qcDeptId;
    }
    public void setQcPersonId(Long qcPersonId) 
    {
        this.qcPersonId = qcPersonId;
    }

    public Long getQcPersonId() 
    {
        return qcPersonId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dispatchId", getDispatchId())
            .append("workOrderTaskId", getWorkOrderTaskId())
            .append("teamId", getTeamId())
            .append("leaderId", getLeaderId())
            .append("memberIds", getMemberIds())
            .append("qcDeptId", getQcDeptId())
            .append("qcPersonId", getQcPersonId())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
} 